#ifndef CPROCESSADOR_H
#define CPROCESSADOR_H

#include <QObject>
#include <QThread>
#include <QRegExp>
#include <QUrl>
#include <QStringList>
#include <QTimer>
#include "cvagasitem.h"

class CProcessador : public QThread
{
    Q_OBJECT
public:
    explicit CProcessador(QObject *parent = 0);

private:
    void run();

private:
    QRegExp _regex;
    QString _txt;
    QStringList DecodificarContato(const QString &v);    
    void NormalizarTexto(QString *v);

signals:
    void vaga(CVagasItem *vaga);
    void inicioProcessamento();
    void fimProcessamento();

public slots:
    void processarTexto(const QString &v);

};

#endif // CPROCESSADOR_H
